<template>
  <view class="container">
    <!--  <view class="box" v-if="status == 2" @click="gopage">
      <image src="../../static/icon/payok.png" mode="aspectFill" style="width: 170rpx; height: 170rpx"></image>
      <view class="btn">审核通过，点击前往教师端</view>
    </view> -->
    <view class="box" @click="gorz">
      <image src="../../static/icon/payfalse.png" mode="aspectFill" style="width: 170rpx; height: 170rpx"></image>
      <view class="btn">审核失败，点击重新认证</view>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      status: ''
    };
  },
  methods: {
    // gopage() {
    //   uni.redirectTo({
    //     url: '/pages/index/index?status=' + 2
    //   });
    // },
    gorz() {
      uni.redirectTo({
        url: '/teacher/jsrz/jsrz'
      });
    }
  },
  onLoad(e) {
    if (e.status) {
      console.log(e.status);
      this.status = e.status;
    }
  }
};
</script>

<style lang="scss">
.container {
  box-sizing: border-box;
  .box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 300rpx;
  }
  .btn {
    box-sizing: border-box;
    width: 400rpx;
    height: 90rpx;
    text-align: center;
    background-color: #efefef;
    color: #000;
    border-radius: 100rpx;
    line-height: 90rpx;
    margin-top: 30rpx;
  }
}
</style>